<template>
	<view>
		<image class="img" src="../../static/aboutus.png"></image>
		<view class="font">
			<view @click="phone">
				联系电话: 400-918-8080（点击拨打）
			</view>
			<view>
				地址: 广州市南沙区丰泽东路106号
			</view>
		</view>
		<map :scale="scale" :latitude="latitude" :longitude="longitude" :markers='markers'></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				latitude:22.795244,
				longitude:113.538208,
				scale:15,
				markers:[{
					latitude:22.795244,
					longitude:113.538208,
					iconPath:'../../static/map.PNG',
					height:20
				}]
				
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
				    phoneNumber: '400-918-8080'
				});
			}
		}
	}
</script>

<style lang="less" scoped>
.img{
	width: 100%;
	height: 480rpx;
}
.font{
	view{
		font-size: 40rpx;
		border-bottom: 1px solid #eee;
		line-height: 50rpx;
		padding: 20rpx;
	}
	
}
map{
	width: 750rpx;
	height: 750rpx;
}
</style>
